/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.fd.service;

import java.util.Collection;
import java.util.List;

import com.xy.lang.domain.Result;
import com.xy.biz.fd.domain.bo.DocumentLogBO;
import com.xy.biz.fd.domain.query.DocumentLogQuery;

/**
 * 
 * 
 * @author zgy
 * @date 2021-5-20
 */
public interface DocumentLogService {
	
	/**
	 * 保存
	 *
	 * @param documentLogBO
	 */
	Result<?> saveDocumentLog(DocumentLogBO documentLogBO);
	
	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	Result<?> saveAllDocumentLog(Collection<DocumentLogBO> collection);
	
	/**
	 * 更新
	 *
	 * @param documentLogBO
	 */
	Result<?> updateDocumentLog(DocumentLogBO documentLogBO);
	
	/**
	 * 删除
	 *
	 * @param documentLogId
	 */
	Result<?> deleteDocumentLog(Long documentLogId);
	
	/**
	 * 查找一个
	 *
	 * @param documentLogId
	 * @return 
	 */
	DocumentLogBO getDocumentLog(Long documentLogId);
	
	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 */
	List<DocumentLogBO> listDocumentLogById(Collection<Long> collection);
	
	/**
	 * 查找多个
	 *
	 * @param query 查找条件
	 */
	List<DocumentLogBO> listDocumentLog(DocumentLogQuery query);
	
	/**
	 * 统计个数
	 *
	 * @param query 查找条件
	 */
	int countDocumentLog(DocumentLogQuery query);
	
}
